<template>
  <a-tabs type="card" @change="change" v-model="activikey">
    <a-tab-pane key="1" tab="默认地图范围">
      <CorrectGeopointDefault ref="CorrectGeopointDefault"></CorrectGeopointDefault>
    </a-tab-pane>
    <a-tab-pane key="2" tab="自定义地图范围">
      <CorrectGeopointCustome ref="CorrectGeopointCustome"></CorrectGeopointCustome>
    </a-tab-pane>
  </a-tabs>
</template>
<script>
export default {
  data () {
    return {
      activikey: '2'
    }
  },
  components: {
    CorrectGeopointCustome: () => import('@/views/correction/warning/CorrectGeopointCustome.vue'),
    CorrectGeopointDefault: () => import('@/views/correction/warning/CorrectGeopointDefault.vue')
  },
  methods: {
    change (key) {
      console.log(key)
    }
  }
}
</script>
